;   4,,,,
CreateMeshBuilder,,,,
AddVertex,-100,1.5,0,
AddVertex,100,1.5,0,
AddVertex,100,-0.5,0,
AddVertex,-100,-0.5,0,
AddFace,0,1,2,3
GenerateNormals,,,,
LoadTexture,handrail_s.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,100,0,
SetTextureCoordinates,2,100,1,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,0,
translate,0,0,-9.5,

CreateMeshBuilder,,,,
AddVertex,-100,1.5,0,
AddVertex,100,1.5,0,
AddVertex,100,-0.5,0,
AddVertex,-100,-0.5,0,
AddFace,0,1,2,3
GenerateNormals,,,,
LoadTexture,handrail_s.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,100,0,
SetTextureCoordinates,2,100,1,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,0,
translate,0,0,-20.5,


;   1,,,,
CreateMeshBuilder,,,,
AddVertex,-100,0,-2.5,
AddVertex,-100,0,2.5,
AddVertex,100,0,2.5,
AddVertex,100,0,-2.5,
AddFace,0,1,2,3
GenerateNormals,,,,
LoadTexture,rs_road.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,1,
SetTextureCoordinates,3,0,1,
translate,0,0,-7.5,

CreateMeshBuilder,,,,
AddVertex,-100,0,-2.5,
AddVertex,-100,0,2.5,
AddVertex,100,0,2.5,
AddVertex,100,0,-2.5,
AddFace,0,1,2,3
GenerateNormals,,,,
LoadTexture,rs_road.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,1,
SetTextureCoordinates,3,0,1,
translate,0,0,-22.5,


;   2,,,,
CreateMeshBuilder,,,,
AddVertex,-100,1,2,
AddVertex,-2.5,1,2,
AddVertex,-2.5,0.8,-2,
AddVertex,-2.5,-0.5,-5,
AddVertex,-100,-0.5,-5,
AddVertex,-100,0.8,-2,
AddFace,0,1,2,5
AddFace,5,2,3,4
GenerateNormals,,,,
LoadTexture,grass.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.5,
SetTextureCoordinates,3,1,1,
SetTextureCoordinates,4,0,1,
SetTextureCoordinates,5,0,0.5,

CreateMeshBuilder,,,,
AddVertex,6.3,1,2,
AddVertex,100,1,2,
AddVertex,100,0.8,-2,
AddVertex,100,-0.5,-5,
AddVertex,6.3,-0.5,-5,
AddVertex,6.3,0.8,-2,
AddFace,0,1,2,5
AddFace,5,2,3,4
GenerateNormals,,,,
LoadTexture,grass.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.5,
SetTextureCoordinates,3,1,1,
SetTextureCoordinates,4,0,1,
SetTextureCoordinates,5,0,0.5,


;   3,,,,
CreateMeshBuilder,,,,
AddVertex,-100,0,-10,
AddVertex,100,0,-10,
AddVertex,100,-7,-10,
AddVertex,-100,-7,-10,
AddFace,0,1,2,3
setcolor,127,127,127,
GenerateNormals,,,,
LoadTexture,wall.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,2,0,
SetTextureCoordinates,2,2,1,
SetTextureCoordinates,3,0,1,


CreateMeshBuilder,,,,
AddVertex,-2.5,0.8,-2,
AddVertex,6.3,0.8,-2,
AddVertex,6.3,-0.5,-5,
AddVertex,-2.5,-0.5,-5,
AddFace,0,1,2,3
setcolor,120,120,120,
GenerateNormals,,,,
LoadTexture,wall.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,1,
SetTextureCoordinates,3,0,1,


;bridge R,,,,
;上,,,,
CreateMeshBuilder,,,,
AddVertex,1.62,1,25,
AddVertex,1.9,1,25,
AddVertex,1.9,1,0,
AddVertex,1.62,1,0,
AddFace,0,1,2,3
GenerateNormals,,,,
SetColor,232,227,193,
translate,3.8,3.5,-25,

;縦,,,,
CreateMeshBuilder,,,,
AddVertex,1.62,0.95,0.2,
AddVertex,1.9,0.95,0.2,
AddVertex,1.9,0.65,0.2,
AddVertex,1.9,0,0.2,
AddVertex,1.9,-0.3,0.2,
AddVertex,1.22,-0.3,0.2,
AddVertex,1.22,0,0.2,
AddVertex,1.62,0.65,0.2,
AddFace,0,1,2,7
AddFace,7,2,3,6
AddFace,6,3,4,5
GenerateNormals,,,,
SetColor,232,227,193,
translate,3.8,3.5,-25,

CreateMeshBuilder,,,,
AddVertex,1.62,0.95,0.2,
AddVertex,1.9,0.95,0.2,
AddVertex,1.9,0.65,0.2,
AddVertex,1.9,0,0.2,
AddVertex,1.9,-0.3,0.2,
AddVertex,1.22,-0.3,0.2,
AddVertex,1.22,0,0.2,
AddVertex,1.62,0.65,0.2,
AddFace,0,1,2,7
AddFace,7,2,3,6
AddFace,6,3,4,5
GenerateNormals,,,,
SetColor,232,227,193,
Translate,3.8,3.5,-20.7,


CreateMeshBuilder,,,,
AddVertex,1.62,0.95,0.2,
AddVertex,1.9,0.95,0.2,
AddVertex,1.9,0.65,0.2,
AddVertex,1.9,0,0.2,
AddVertex,1.9,-0.3,0.2,
AddVertex,1.22,-0.3,0.2,
AddVertex,1.22,0,0.2,
AddVertex,1.62,0.65,0.2,
AddFace,0,1,2,7
AddFace,7,2,3,6
AddFace,6,3,4,5
GenerateNormals,,,,
SetColor,232,227,193,
Translate,3.8,3.5,-16.6,


CreateMeshBuilder,,,,
AddVertex,1.62,0.95,0.2,
AddVertex,1.9,0.95,0.2,
AddVertex,1.9,0.65,0.2,
AddVertex,1.9,0,0.2,
AddVertex,1.9,-0.3,0.2,
AddVertex,1.22,-0.3,0.2,
AddVertex,1.22,0,0.2,
AddVertex,1.62,0.65,0.2,
AddFace,0,1,2,7
AddFace,7,2,3,6
AddFace,6,3,4,5
GenerateNormals,,,,
SetColor,232,227,193,
Translate,3.8,3.5,-12.5,


CreateMeshBuilder,,,,
AddVertex,1.62,0.95,0.2,
AddVertex,1.9,0.95,0.2,
AddVertex,1.9,0.65,0.2,
AddVertex,1.9,0,0.2,
AddVertex,1.9,-0.3,0.2,
AddVertex,1.22,-0.3,0.2,
AddVertex,1.22,0,0.2,
AddVertex,1.62,0.65,0.2,
AddFace,0,1,2,7
AddFace,7,2,3,6
AddFace,6,3,4,5
GenerateNormals,,,,
SetColor,232,227,193,
Translate,3.8,3.5,-8.4,

CreateMeshBuilder,,,,
AddVertex,1.62,0.95,0.2,
AddVertex,1.9,0.95,0.2,
AddVertex,1.9,0.65,0.2,
AddVertex,1.9,0,0.2,
AddVertex,1.9,-0.3,0.2,
AddVertex,1.22,-0.3,0.2,
AddVertex,1.22,0,0.2,
AddVertex,1.62,0.65,0.2,
AddFace,0,1,2,7
AddFace,7,2,3,6
AddFace,6,3,4,5
GenerateNormals,,,,
SetColor,232,227,193,
Translate,3.8,3.5,-4.3,

CreateMeshBuilder,,,,
AddVertex,1.62,0.95,0.2,
AddVertex,1.9,0.95,0.2,
AddVertex,1.9,0.65,0.2,
AddVertex,1.9,0,0.2,
AddVertex,1.9,-0.3,0.2,
AddVertex,1.22,-0.3,0.2,
AddVertex,1.22,0,0.2,
AddVertex,1.62,0.65,0.2,
AddFace,0,1,2,7
AddFace,7,2,3,6
AddFace,6,3,4,5
GenerateNormals,,,,
SetColor,232,227,193,
Translate,3.8,3.5,-0.2,

;横,,,,
CreateMeshBuilder,,,,
AddVertex,1.9,1,25,
AddVertex,1.9,1,0,
AddVertex,1.9,-0.3,0,
AddVertex,1.9,-0.3,25,
AddFace,0,1,2,3
GenerateNormals,,,,
SetColor,232,227,193,
Translate,3.8,3.5,-25,

;下,,,,
CreateMeshBuilder,,,,
AddVertex,-1,-0.8,25,
AddVertex,1.22,-0.8,25,
AddVertex,1.22,-0.3,25,
AddVertex,1.9,-0.3,25,
AddVertex,-1,-0.8,0,
AddVertex,1.22,-0.8,0,
AddVertex,1.22,-0.3,0,
AddVertex,1.9,-0.3,0,
AddFace,0,1,5,4
AddFace,2,6,5,1
AddFace,2,3,7,6
GenerateNormals,,,,
SetColor,232,227,193,
Translate,3.8,3.5,-25,

CreateMeshBuilder,,,,
AddVertex,-1,-0.8,25,
AddVertex,-1,-0.8,0,
AddVertex,-1,-1.3,0,
AddVertex,-1,-1.3,25,
AddFace,0,1,2,3
GenerateNormals,,,,
SetColor,232,227,193,
Translate,3.8,3.5,-25,


;bridge L,,,,
;上,,,,
CreateMeshBuilder,,,,
AddVertex,-1.9,1,25,
AddVertex,-1.62,1,25,
AddVertex,-1.62,1,0,
AddVertex,-1.9,1,0,
AddFace,0,1,2,3
GenerateNormals,,,,
SetColor,232,227,193,
Translate,0,3.5,-25,

;縦,,,,
CreateMeshBuilder,,,,
AddVertex,-1.9,0.95,0.2,
AddVertex,-1.62,0.95,0.2,
AddVertex,-1.62,0.65,0.2,
AddVertex,-1.22,0,0.2,
AddVertex,-1.22,-0.3,0.2,
AddVertex,-1.9,-0.3,0.2,
AddVertex,-1.9,0,0.2,
AddVertex,-1.9,0.65,0.2,
AddFace,0,1,2,7
AddFace,7,2,3,6
AddFace,6,3,4,5
GenerateNormals,,,,
SetColor,232,227,193,
Translate,0,3.5,-25,

CreateMeshBuilder,,,,
AddVertex,-1.9,0.95,0.2,
AddVertex,-1.62,0.95,0.2,
AddVertex,-1.62,0.65,0.2,
AddVertex,-1.22,0,0.2,
AddVertex,-1.22,-0.3,0.2,
AddVertex,-1.9,-0.3,0.2,
AddVertex,-1.9,0,0.2,
AddVertex,-1.9,0.65,0.2,
AddFace,0,1,2,7
AddFace,7,2,3,6
AddFace,6,3,4,5
GenerateNormals,,,,
SetColor,232,227,193,
Translate,0,3.5,-20.7,

CreateMeshBuilder,,,,
AddVertex,-1.9,0.95,0.2,
AddVertex,-1.62,0.95,0.2,
AddVertex,-1.62,0.65,0.2,
AddVertex,-1.22,0,0.2,
AddVertex,-1.22,-0.3,0.2,
AddVertex,-1.9,-0.3,0.2,
AddVertex,-1.9,0,0.2,
AddVertex,-1.9,0.65,0.2,
AddFace,0,1,2,7
AddFace,7,2,3,6
AddFace,6,3,4,5
GenerateNormals,,,,
SetColor,232,227,193,
Translate,0,3.5,-16.6,

CreateMeshBuilder,,,,
AddVertex,-1.9,0.95,0.2,
AddVertex,-1.62,0.95,0.2,
AddVertex,-1.62,0.65,0.2,
AddVertex,-1.22,0,0.2,
AddVertex,-1.22,-0.3,0.2,
AddVertex,-1.9,-0.3,0.2,
AddVertex,-1.9,0,0.2,
AddVertex,-1.9,0.65,0.2,
AddFace,0,1,2,7
AddFace,7,2,3,6
AddFace,6,3,4,5
GenerateNormals,,,,
SetColor,232,227,193,
Translate,0,3.5,-12.5,

CreateMeshBuilder,,,,
AddVertex,-1.9,0.95,0.2,
AddVertex,-1.62,0.95,0.2,
AddVertex,-1.62,0.65,0.2,
AddVertex,-1.22,0,0.2,
AddVertex,-1.22,-0.3,0.2,
AddVertex,-1.9,-0.3,0.2,
AddVertex,-1.9,0,0.2,
AddVertex,-1.9,0.65,0.2,
AddFace,0,1,2,7
AddFace,7,2,3,6
AddFace,6,3,4,5
GenerateNormals,,,,
SetColor,232,227,193,
Translate,0,3.5,-8.4,

CreateMeshBuilder,,,,
AddVertex,-1.9,0.95,0.2,
AddVertex,-1.62,0.95,0.2,
AddVertex,-1.62,0.65,0.2,
AddVertex,-1.22,0,0.2,
AddVertex,-1.22,-0.3,0.2,
AddVertex,-1.9,-0.3,0.2,
AddVertex,-1.9,0,0.2,
AddVertex,-1.9,0.65,0.2,
AddFace,0,1,2,7
AddFace,7,2,3,6
AddFace,6,3,4,5
GenerateNormals,,,,
SetColor,232,227,193,
Translate,0,3.5,-4.3,

CreateMeshBuilder,,,,
AddVertex,-1.9,0.95,0.2,
AddVertex,-1.62,0.95,0.2,
AddVertex,-1.62,0.65,0.2,
AddVertex,-1.22,0,0.2,
AddVertex,-1.22,-0.3,0.2,
AddVertex,-1.9,-0.3,0.2,
AddVertex,-1.9,0,0.2,
AddVertex,-1.9,0.65,0.2,
AddFace,0,1,2,7
AddFace,7,2,3,6
AddFace,6,3,4,5
GenerateNormals,,,,
SetColor,232,227,193,
Translate,0,3.5,-0.2,

;横,,,,
CreateMeshBuilder,,,,
AddVertex,-1.9,1,0,
AddVertex,-1.9,1,25,
AddVertex,-1.9,-0.3,25,
AddVertex,-1.9,-0.3,0,
AddFace,0,1,2,3
GenerateNormals,,,,
SetColor,232,227,193,
Translate,0,3.5,-25,

;下,,,,
CreateMeshBuilder,,,,
AddVertex,-1.9,-0.3,25,
AddVertex,-1.22,-0.3,25,
AddVertex,-1.22,-0.8,25,
AddVertex,1,-0.8,25,
AddVertex,-1.9,-0.3,0,
AddVertex,-1.22,-0.3,0,
AddVertex,-1.22,-0.8,0,
AddVertex,1,-0.8,0,
AddFace,4,0,1,5
AddFace,5,1,2,6
AddFace,6,2,3,7
GenerateNormals,,,,
SetColor,232,227,193,
Translate,0,3.5,-25,



;内側レール部分,,,,
CreateMeshBuilder,,,,
AddVertex,0.334,0,0,
AddVertex,0.334,0,25.2,
AddVertex,0.402,0,25.2,
AddVertex,0.402,0,0,
AddVertex,0.334,-0.144,0,
AddVertex,0.334,-0.144,25.2,
AddFace,0,1,2,3
AddFace,1,0,4,5
GenerateNormals,,,,
SetColor,102,66,36,
translate,0,3.5,-25,


CreateMeshBuilder,,,,
AddVertex,-0.402,0,0,
AddVertex,-0.402,0,25.2,
AddVertex,-0.334,0,25.2,
AddVertex,-0.334,0,0,
AddFace,0,1,2,3
GenerateNormals,,,,
SetColor,102,66,36,
translate,0,3.5,-25,


CreateMeshBuilder,;渡り板,,,
AddVertex,-0.202,0,25.2,
AddVertex,0.202,0,25.2,
AddVertex,0.202,0,0,
AddVertex,-0.202,0,0,
AddFace,0,1,2,3
GenerateNormals,,,,
LoadTexture,catwalk.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,1,
SetTextureCoordinates,3,0,1,
translate,0,3.5,-25,

;内側レール部分,,,,
CreateMeshBuilder,,,,
AddVertex,0.334,0,0,
AddVertex,0.334,0,25.2,
AddVertex,0.402,0,25.2,
AddVertex,0.402,0,0,
AddVertex,0.334,-0.144,0,
AddVertex,0.334,-0.144,25.2,
AddFace,0,1,2,3
AddFace,1,0,4,5
GenerateNormals,,,,
SetColor,102,66,36,
Translate,3.8,3.5,-25,


CreateMeshBuilder,,,,
AddVertex,-0.402,0,0,
AddVertex,-0.402,0,25.2,
AddVertex,-0.334,0,25.2,
AddVertex,-0.334,0,0,
AddFace,0,1,2,3
GenerateNormals,,,,
SetColor,102,66,36,
Translate,3.8,3.5,-25,


CreateMeshBuilder,;渡り板,,,
AddVertex,-0.202,0,25.2,
AddVertex,0.202,0,25.2,
AddVertex,0.202,0,0,
AddVertex,-0.202,0,0,
AddFace,0,1,2,3
GenerateNormals,,,,
LoadTexture,catwalk.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0
SetTextureCoordinates,2,1,1
SetTextureCoordinates,3,0,1
Translate,3.8,3.5,-25
